package com.hf.hantopy.model;

import com.hf.hantopy.utils.excel.ExcelCodeToString;
import com.hf.hantopy.utils.excel.ExcelField;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description:
 * @Date: 2019/3/3
 * @Auther: wm yu
 */
@Data
public class CarAdmin implements Serializable {
    private static final long serialVersionUID = -7011993813000654045L;
    @ExcelField(name = "id")
    private String id;
    @ExcelField(name = "姓名")
    private String name;
    @ExcelField(name = "运营商id")
    private String agentId;
    @ExcelField(name = "手机号")
    private String mobile;
    @ExcelField(name = "年龄")
    private Integer age;
    @ExcelField(name = "职位")
    private String position;
    @ExcelField(name = "状态")
    @ExcelCodeToString(values={"1:在职","2:离职","3:冻结"})
    private Integer status;
    @ExcelField(name = "加入时间")
    private String joinTime;
    @ExcelField(name = "逻辑删除")
    @ExcelCodeToString(values={"0:否","1:是"})
    private Integer isDelete;
    @ExcelField(name = "条目创建时间")
    private String createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(String joinTime) {
        this.joinTime = joinTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
